Remove debug prints
This commit is contained in:
parent
c71ef9ae84
commit
cbc847b751
|
@ -74,7 +74,6 @@ export default function(state, emitter) {
|
||||||
});
|
});
|
||||||
|
|
||||||
emitter.on('delete', async ({ file, location }) => {
|
emitter.on('delete', async ({ file, location }) => {
|
||||||
console.log('ondelete');
|
|
||||||
try {
|
try {
|
||||||
metrics.deletedUpload({
|
metrics.deletedUpload({
|
||||||
size: file.size,
|
size: file.size,
|
||||||
|
@ -87,7 +86,6 @@ export default function(state, emitter) {
|
||||||
state.storage.remove(file.id);
|
state.storage.remove(file.id);
|
||||||
await file.del();
|
await file.del();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e.stack);
|
|
||||||
state.raven.captureException(e);
|
state.raven.captureException(e);
|
||||||
}
|
}
|
||||||
render();
|
render();
|
||||||
|
|
Loading…
Reference in New Issue