Skip to content

Commit

Permalink
Fix: error when opening Growl notification if there is no error string
Browse files Browse the repository at this point in the history
  • Loading branch information
crucialfelix committed Sep 27, 2017
1 parent 18d8a8a commit 6d8fa6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repl.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Repl
show = true
if lastErrorTime?
show = (errorTime - lastErrorTime) > 1000
if show
if show and err.error.errorString
growl(err.error.errorString, {title: 'SuperCollider'})
lastErrorTime = errorTime

Expand Down

0 comments on commit 6d8fa6e

Please sign in to comment.