mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed editor save retry attempts data not making it to Sentry
no issue - the options passed to `captureMessage` have specific top-level keys, arbitrary data needs to be supplied by the `extra` key rather
This commit is contained in:
parent
33b04313e0
commit
386d59d709
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ export default Controller.extend({
|
||||||
|
|
||||||
if (attempts !== 0 && this.config.get('sentry_dsn')) {
|
if (attempts !== 0 && this.config.get('sentry_dsn')) {
|
||||||
let totalSeconds = moment().diff(startTime, 'seconds');
|
let totalSeconds = moment().diff(startTime, 'seconds');
|
||||||
captureMessage('Saving post required multiple attempts', {attempts, totalSeconds});
|
captureMessage('Saving post required multiple attempts', {extra: {attempts, totalSeconds}});
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
attempts += 1;
|
attempts += 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue