mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 18:31:33 +00:00
Improve error handling in webide backend
This commit is contained in:
parent
d4d6bdad0f
commit
929ea905c5
@ -106,7 +106,7 @@ class SourceCodeEventHandler(TriggerlessEventHandler):
|
||||
except IndexError:
|
||||
data['content'] = 'No files in this directory :('
|
||||
except EnvironmentError:
|
||||
log.exception('Failed to select directory "{}"'.format(data['directory']))
|
||||
log.error('Failed to select directory "{}"'.format(data['directory']))
|
||||
return data
|
||||
|
||||
def attach_fileinfo(self, data):
|
||||
|
Loading…
Reference in New Issue
Block a user