updated
This commit is contained in:
@@ -23,9 +23,9 @@ export default async function giveCollabAccess(
|
||||
} catch (error) {
|
||||
echo.error("Failed to give collab access");
|
||||
if (error instanceof Error) {
|
||||
throw new Error(error.message);
|
||||
console.log(error.message);
|
||||
} else {
|
||||
throw new Error("An unknown error occurred");
|
||||
console.log("An unknown error occurred");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user