mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 04:43:37 +08:00
2b2a506a7b
This commit is an attempt to limit cases where the dashboard will generate a full exception page and also make it easier to track the error.
12 lines
332 B
JavaScript
12 lines
332 B
JavaScript
import signups from "fixtures/signups";
|
|
|
|
const signupsExceptionKey = "/admin/reports/signups_exception";
|
|
const signupsKey = "/admin/reports/signups";
|
|
|
|
let fixture = {};
|
|
|
|
fixture[signupsExceptionKey] = JSON.parse(JSON.stringify(signups[signupsKey]));
|
|
fixture[signupsExceptionKey].report.error = "exception";
|
|
|
|
export default fixture;
|