mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-06 03:00:23 +00:00
Refactor error handling part 2 (#313)
This commit is contained in:
@@ -17,7 +17,7 @@ export const readOffers = async (): Promise<Offer[]> => {
|
||||
return [];
|
||||
}
|
||||
|
||||
handleError(error, `Error while querying offers`, "ReadOffers");
|
||||
handleError(error, "ReadOffers", `Error while querying offers`);
|
||||
throw error;
|
||||
} finally {
|
||||
clearMessage();
|
||||
|
||||
Reference in New Issue
Block a user