Skip to content

Commit 38715fd

Browse files
committed
removed throw error for console.err
1 parent 75a3664 commit 38715fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/get-picture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const isDev = Boolean(import.meta.env?.DEV);
4545

4646
const cloudName = process.env.PUBLIC_CLOUDINARY_CLOUD_NAME;
4747
if (!isDev && !cloudName)
48-
throw Error("missing public variable CLOUDINARY_CLOUD_NAME");
48+
console.error("missing public variable CLOUDINARY_CLOUD_NAME");
4949

5050
function getSource(src: string, width: number, getFormat: string) {
5151
if (isDev) {

0 commit comments

Comments
 (0)