mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-09-08 16:45:24 -05:00
Improve error reporting
This commit is contained in:
@@ -73,7 +73,7 @@ export default class StatusGeneratorManager
|
||||
|
||||
return { generator, status, clients };
|
||||
} catch (e) {
|
||||
this.console(generator).error(`Error generating status: ${e}`);
|
||||
this.console(generator).error('Error generating status:', e);
|
||||
Sentry.captureException(e);
|
||||
} finally {
|
||||
await screenshotHelper.close();
|
||||
@@ -104,7 +104,7 @@ export default class StatusGeneratorManager
|
||||
await client.send(status, generator);
|
||||
await generator.updatelastPostCache(client);
|
||||
} catch (e) {
|
||||
this.console(generator, client).error(`Error posting: ${e}`);
|
||||
this.console(generator, client).error('Error posting:', e);
|
||||
Sentry.captureException(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user