Log the exception

This commit is contained in:
Andre D 2015-07-10 15:28:01 -04:00
parent a09bbc8ae6
commit da11eb55ac
2 changed files with 6 additions and 2 deletions

View file

@ -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()) {

View file

@ -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)