Skip to content
Snippets Groups Projects
Commit 3d493e4c authored by ThanKarab's avatar ThanKarab
Browse files

On any exception return 200 and empty list.

parent c140da06
No related branches found
No related tags found
1 merge request!8Dev merge middleware
...@@ -76,7 +76,9 @@ public class MethodsApi { ...@@ -76,7 +76,9 @@ public class MethodsApi {
} }
return ResponseEntity.ok(workflowDetailsList); return ResponseEntity.ok(workflowDetailsList);
} catch (ClientHandlerException e) { } catch (Exception e) {
UserActionLogging.LogAction("List Galaxy workflows", "Error when calling list galaxy workflows: " + e.getMessage());
return ResponseEntity.ok(new ArrayList<>()); return ResponseEntity.ok(new ArrayList<>());
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment