Unverified Commit c789794c authored by Joe Haddad's avatar Joe Haddad Committed by GitHub
Browse files

Fix run-time error unregistering (#3474)

parent 657d145f
Showing with 1 addition and 1 deletion
+1 -1
......@@ -64,7 +64,7 @@ export function startReportingRuntimeErrors(options: RuntimeReportingOptions) {
);
}
currentRuntimeErrorOptions = options;
listenToRuntimeErrors(errorRecord => {
stopListeningToRuntimeErrors = listenToRuntimeErrors(errorRecord => {
try {
if (typeof options.onError === 'function') {
options.onError.call(null);
......
Supports Markdown
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