mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Exposing more descriptive errors from exports
Summary: Exports used to show generic message on error. Adding error description to the message. Test Plan: Updated tests Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3157
This commit is contained in:
@@ -228,7 +228,7 @@ export class Housekeeper {
|
||||
if (userId !== this._dbManager.getSupportUserId()) {
|
||||
throw new ApiError('access denied', 403);
|
||||
}
|
||||
const docId = stringParam(req.params.docId);
|
||||
const docId = stringParam(req.params.docId, 'docId');
|
||||
const permitKey = await this._permitStore.setPermit({docId});
|
||||
try {
|
||||
const result = await callback(docId, {
|
||||
|
||||
Reference in New Issue
Block a user