Skip to content

Commit

Permalink
enable verbose engine start errors
Browse files Browse the repository at this point in the history
fix #43
  • Loading branch information
jonian committed Apr 28, 2021
1 parent d49aaaa commit 16773cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions acestream_launcher/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ def _on_engine_started(self):
def _on_engine_terminated(self):
self.emit('terminated')

def _on_engine_error(self, _message=None):
self.emit('notify', 'Acestream engine not found in provided path!')
def _on_engine_error(self, message=None):
notice = message or 'Unknown acestream engine error'
self.emit('notify', "Acestream engine failed to start!\n\n==> %s" % notice)
self.emit('error')

def _on_stream_status_changed(self):
Expand Down

0 comments on commit 16773cc

Please sign in to comment.