Commit 9f0a8b860f0cd4d06dfcf1a19b310f38f17d823b

Authored by Igor Kulikov
2 parents a5f44729 ce7c86e4

Merge with master

... ... @@ -138,7 +138,7 @@ public abstract class BaseController {
138 138
139 139 private ThingsboardException handleException(Exception exception, boolean logException) {
140 140 if (logException) {
141   - log.error("Error [{}]", exception.getMessage());
  141 + log.error("Error [{}]", exception.getMessage(), exception);
142 142 }
143 143
144 144 String cause = "";
... ...