Commit 6a813aa3 by Torkel Ödegaard

fix(export): better error handling

parent 855e913b
......@@ -105,7 +105,9 @@ export class DashboardExporter {
return newObj;
}).catch(err => {
console.log('Export failed:', err);
return {};
return {
error: err
};
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment