Permalink
Browse files
Fixed issues with exception handling
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/eadapters/models/budy/bd_common.py
|
@@ -105,7 +105,7 @@ def _handle_error(error, fallback = None, code = 400, encoding = "utf-8"): |
|
|
# tries to retrieve the message from the provided |
|
|
# information, as expected by the structure |
|
|
message = data_j.get("message", None) |
|
|
except: |
|
|
except Exception: |
|
|
# in case there was an unexpected error interpreting |
|
|
# the data then sets the data itself as the message |
|
|
message = data_s |
|
|
0 comments on commit
a700a4c