Log the exception
This commit is contained in:
parent
a09bbc8ae6
commit
da11eb55ac
2 changed files with 6 additions and 2 deletions
|
@ -95,7 +95,9 @@ upload.modules.addmodule({
|
|||
if (!stored) {
|
||||
try {
|
||||
stored = localStorage.getItem('delete-' + data.ident)
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
}
|
||||
|
||||
if (stored && !isiframed()) {
|
||||
|
|
|
@ -140,7 +140,9 @@ upload.modules.addmodule({
|
|||
|
||||
try {
|
||||
localStorage.setItem('delete-' + data.ident, response.delkey)
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
|
||||
if (window.location.hash == '#noref') {
|
||||
history.replaceState(undefined, undefined, '#' + data.seed)
|
||||
|
|
Loading…
Reference in a new issue