mirror of https://github.com/status-im/metro.git
Log bundling errors to scuba
Reviewed By: davidaurelio Differential Revision: D6519623 fbshipit-source-id: a8e54639a041e300bb98d8a9744490fdeae17d1a
This commit is contained in:
parent
f347e4ff47
commit
c5e83dd86a
|
@ -739,6 +739,13 @@ class Server {
|
|||
});
|
||||
res.end(JSON.stringify(formattedError));
|
||||
this._reporter.update({error, type: 'bundling_error'});
|
||||
|
||||
log({
|
||||
action_name: 'bundling_error',
|
||||
error_type: formattedError.type,
|
||||
log_entry_label: 'bundling_error',
|
||||
stack: formattedError.message,
|
||||
});
|
||||
}
|
||||
|
||||
_getOptionsFromUrl(reqUrl: string): BundleOptions & DeltaBundlerOptions {
|
||||
|
|
Loading…
Reference in New Issue