aboutsummaryrefslogtreecommitdiff
path: root/src/server/DashUploadUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-10-05 19:29:05 -0400
committerbobzel <zzzman@gmail.com>2022-10-05 19:29:05 -0400
commit91c1665f64c27c17c0887800182e0b6e803fa0fb (patch)
tree5d8909343d404817e749efb472e8a7f6e5e5db81 /src/server/DashUploadUtils.ts
parent65286c7e488f9eed9b96923791259f5169520793 (diff)
from last
Diffstat (limited to 'src/server/DashUploadUtils.ts')
-rw-r--r--src/server/DashUploadUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/DashUploadUtils.ts b/src/server/DashUploadUtils.ts
index baf2989fd..4870d218b 100644
--- a/src/server/DashUploadUtils.ts
+++ b/src/server/DashUploadUtils.ts
@@ -398,7 +398,7 @@ export namespace DashUploadUtils {
// Use the request library to parse out file level image information in the headers
const { headers } = await new Promise<any>((resolve, reject) => {
return request.head(resolvedUrl, (error, res) => (error ? reject(error) : resolve(res)));
- }).catch(reject);
+ }).catch(e => console.log(e));
try {
// Compute the native width and height ofthe image with an npm module