jp-shared 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/firebase-utils.js +2 -2
package/package.json
CHANGED
package/utils/firebase-utils.js
CHANGED
|
@@ -171,7 +171,7 @@ const uploadFile = async (file, filePath) => {
|
|
|
171
171
|
|
|
172
172
|
return new Promise((resolve, reject) => {
|
|
173
173
|
stream.on("error", (err) => {
|
|
174
|
-
|
|
174
|
+
console.error("Error uploading file to Firebase Storage:", { err });
|
|
175
175
|
reject(err);
|
|
176
176
|
});
|
|
177
177
|
|
|
@@ -183,7 +183,7 @@ const uploadFile = async (file, filePath) => {
|
|
|
183
183
|
});
|
|
184
184
|
resolve(url);
|
|
185
185
|
} catch (error) {
|
|
186
|
-
|
|
186
|
+
console.error("Error generating signed URL:", { error });
|
|
187
187
|
reject(error);
|
|
188
188
|
}
|
|
189
189
|
});
|