Built motion from commit 4cb7c5ded.|1.0.24
[motion.git] / server / config / util / error.js
index 88a5b4c..f45771d 100644 (file)
@@ -1 +1 @@
-var _0x81e6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x61\x70\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x65\x78\x70\x6F\x72\x74\x73","\x70\x61\x74\x68","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x49\x6D\x70\x6F\x73\x73\x69\x62\x6C\x65\x20\x74\x6F\x20\x72\x65\x6D\x6F\x76\x65\x20\x25\x73\x20\x25\x73\x20\x62\x65\x63\x61\x75\x73\x65\x20\x6F\x66\x20\x61\x6E\x20\x65\x78\x69\x73\x74\x69\x6E\x67\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74"];_0x81e6[0];var util=require(_0x81e6[1]);var logger=require(_0x81e6[3])(_0x81e6[2]);module[_0x81e6[4]]= {handleUniqueConstraintError:function(_0xc56cx3,_0xc56cx4){var _0xc56cx5=[];_0xc56cx4[_0x81e6[8]][_0x81e6[7]](function(_0xc56cx6){switch(_0xc56cx6[_0x81e6[5]]){default:_0xc56cx5[_0x81e6[6]](_0xc56cx6[_0x81e6[5]])}});_0xc56cx5[_0x81e6[6]](_0x81e6[9]);_0xc56cx4[_0x81e6[10]]= _0xc56cx5[_0x81e6[11]]();logger[_0x81e6[12]](_0xc56cx4[_0x81e6[10]]);return _0xc56cx3[_0x81e6[14]](500)[_0x81e6[13]](_0xc56cx4)},handleForeignKeyConstraintError:function(_0xc56cx3,_0xc56cx7,_0xc56cx8,_0xc56cx4){_0xc56cx4[_0x81e6[10]]= util[_0x81e6[16]](_0x81e6[15],_0xc56cx7,_0xc56cx8);return _0xc56cx3[_0x81e6[14]](500)[_0x81e6[13]](_0xc56cx4)}}
\ No newline at end of file
+var _0x9534=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x61\x70\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x65\x78\x70\x6F\x72\x74\x73","\x70\x61\x74\x68","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x49\x6D\x70\x6F\x73\x73\x69\x62\x6C\x65\x20\x74\x6F\x20\x72\x65\x6D\x6F\x76\x65\x20\x25\x73\x20\x25\x73\x20\x62\x65\x63\x61\x75\x73\x65\x20\x6F\x66\x20\x61\x6E\x20\x65\x78\x69\x73\x74\x69\x6E\x67\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74"];_0x9534[0];var util=require(_0x9534[1]);var logger=require(_0x9534[3])(_0x9534[2]);module[_0x9534[4]]= {handleUniqueConstraintError:function(_0x3510x3,_0x3510x4){var _0x3510x5=[];_0x3510x4[_0x9534[8]][_0x9534[7]](function(_0x3510x6){switch(_0x3510x6[_0x9534[5]]){default:_0x3510x5[_0x9534[6]](_0x3510x6[_0x9534[5]])}});_0x3510x5[_0x9534[6]](_0x9534[9]);_0x3510x4[_0x9534[10]]= _0x3510x5[_0x9534[11]]();logger[_0x9534[12]](_0x3510x4[_0x9534[10]]);return _0x3510x3[_0x9534[14]](500)[_0x9534[13]](_0x3510x4)},handleForeignKeyConstraintError:function(_0x3510x3,_0x3510x7,_0x3510x8,_0x3510x4){_0x3510x4[_0x9534[10]]= util[_0x9534[16]](_0x9534[15],_0x3510x7,_0x3510x8);return _0x3510x3[_0x9534[14]](500)[_0x9534[13]](_0x3510x4)}}
\ No newline at end of file