Skip to content

Commit 8dcd8f4

Browse files
committed
Added stack traces to error logs for better error diagnostics
1 parent 3eca897 commit 8dcd8f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/tpd/quboo/sonarplugin/hooks/QubooConnector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private IssuesWrapper getIssues(final String token) {
138138
break;
139139
}
140140
} catch (final Exception e) {
141-
log.error("Quboo could not fetch issues from the server: " + e.getMessage());
141+
log.error("Quboo could not fetch issues from the server: " + e.getMessage(), e);
142142
break;
143143
}
144144
}
@@ -194,7 +194,7 @@ private UsersWrapper getUsers(final String token) {
194194
break;
195195
}
196196
} catch (final Exception e) {
197-
log.error("Quboo could not fetch users from the server: " + e.getMessage());
197+
log.error("Quboo could not fetch users from the server: " + e.getMessage(), e);
198198
break;
199199
}
200200
}

0 commit comments

Comments
 (0)