Skip to content

Commit

Permalink
Revert "add check for 403"
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaliang committed Aug 28, 2019
1 parent 61a459c commit 7f112e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extensions/generateInstanceId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ export async function generateInstanceId(projectId: string, modName: string): Pr
if (_.get(instanceRes, "error.code") === 404) {
return modName;
}
const msg =
"Unexpected error when generating instance ID: " + _.get(instanceRes, "error.message");
throw new FirebaseError(msg, {
throw new FirebaseError("Unexpected error when generating instance ID:", {
original: instanceRes.error,
});
}
Expand Down

0 comments on commit 7f112e2

Please sign in to comment.