mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
console: throw an error when tracking fails on RawSQL page
close https://github.com/hasura/graphql-engine/issues/6628 GitOrigin-RevId: 5efd01197518df7963b5fca6b37610350fc921dc
This commit is contained in:
parent
e56e606ddb
commit
d93cd78999
@ -90,6 +90,7 @@ const trackAllItems = (sql, isMigration, migrationName, source, driver) => (
|
|||||||
},
|
},
|
||||||
err => {
|
err => {
|
||||||
dispatch(showErrorNotification('Tracking items failed', err.code, err));
|
dispatch(showErrorNotification('Tracking items failed', err.code, err));
|
||||||
|
throw new Error(err);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user