mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 08:17:31 +09:00
Pass exceptions directly to logger.
This commit is contained in:
parent
78b5433dcd
commit
5075edbd77
13 changed files with 49 additions and 59 deletions
|
|
@ -119,7 +119,7 @@ this.NotificationButton =
|
|||
callback.apply(this, arguments);
|
||||
} catch (e) {
|
||||
let logger = Log.repository.getLogger("Sync.Notifications");
|
||||
logger.error("An exception occurred: " + Utils.exceptionStr(e));
|
||||
logger.error("An exception occurred: ", e);
|
||||
logger.info(Utils.stackTrace(e));
|
||||
throw e;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue