Commit 1c4757c6 by 前端

日志

1 parent 3de20535
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
// this.$sendSentry(`上传失败:文件名-${fileName} 错误码-${data.oss.res.status},失败原因-${JSON.stringify(data.oss.res)}`); // this.$sendSentry(`上传失败:文件名-${fileName} 错误码-${data.oss.res.status},失败原因-${JSON.stringify(data.oss.res)}`);
} }
} catch(e) { } catch(e) {
this.$sendSentry(recordId,fileName,e) this.reportError(recordId,fileName,e)
} }
}, },
...@@ -146,6 +146,7 @@ export default { ...@@ -146,6 +146,7 @@ export default {
this._removeFileOnClient(filePathOnClient) this._removeFileOnClient(filePathOnClient)
await this._saveOrUpdate(record) await this._saveOrUpdate(record)
} catch (err) { } catch (err) {
this.reportError(recordId,filePathOnClient,err)
Promise.reject(error) Promise.reject(error)
} finally { } finally {
unlock() unlock()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!