Tristan Maat pushed to branch Qinusty/message-helpers at BuildStream / buildstream
Commits:
-
651da9fd
by Tristan Maat at 2018-10-31T14:28:53Z
2 changed files:
Changes:
... | ... | @@ -279,7 +279,7 @@ class Queue(): |
279 | 279 |
self._context.error("Error saving workspaces",
|
280 | 280 |
detail=str(e),
|
281 | 281 |
plugin=element)
|
282 |
- except Exception as e: #pylint: disable=broad-except
|
|
282 |
+ except Exception as e: # pylint: disable=broad-except
|
|
283 | 283 |
self._context.message("Unhandled exception while saving workspaces",
|
284 | 284 |
msg_type=MessageType.BUG,
|
285 | 285 |
detail=traceback.format_exc(),
|
... | ... | @@ -1012,7 +1012,7 @@ class Stream(): |
1012 | 1012 |
except BstError as e:
|
1013 | 1013 |
self._context.error("Error resolving final state", detail=e)
|
1014 | 1014 |
set_last_task_error(e.domain, e.reason)
|
1015 |
- except Exception as e: # pylint: disable=broad-except
|
|
1015 |
+ except Exception as e: # pylint: disable=broad-except
|
|
1016 | 1016 |
self._context.message("Unhandled exception while resolving final state",
|
1017 | 1017 |
detail=traceback.format_exc())
|
1018 | 1018 |
|