Skip to content

Commit

Permalink
Added stack traces to error logs for better error diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
mechero committed Nov 4, 2021
1 parent 3eca897 commit 8dcd8f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private IssuesWrapper getIssues(final String token) {
break;
}
} catch (final Exception e) {
log.error("Quboo could not fetch issues from the server: " + e.getMessage());
log.error("Quboo could not fetch issues from the server: " + e.getMessage(), e);
break;
}
}
Expand Down Expand Up @@ -194,7 +194,7 @@ private UsersWrapper getUsers(final String token) {
break;
}
} catch (final Exception e) {
log.error("Quboo could not fetch users from the server: " + e.getMessage());
log.error("Quboo could not fetch users from the server: " + e.getMessage(), e);
break;
}
}
Expand Down

0 comments on commit 8dcd8f4

Please sign in to comment.