Warning: session_start(): open(/var/lib/php/sessions/sess_hmklkch6h8e5slmg9oum7ispjc, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
scope dm_initErrorHandling.
please include function _registerThread.
please include function _threadInheritInfo.
please include function _threadInfo.
please include function _onAWTEnter.
static new Flag #flag;
svoid dm_initErrorHandling() {
raiseFlagAndDo(flag, r {
_handleException_addHandler(lambda1 handler);
assertNull(_onRegisterThread);
_onRegisterThread = voidfunc(Thread t) {
DynModule m = dm_currentModule();
if (m == null) printStackTrace("New thread made outside of a module");
else m.ownTimer(t);
};
_threadInfo_makers.add(voidfunc(Map map) { mapPut(map, 'dm_currentModule_value, dm_currentModule()) });
_threadInheritInfo_retrievers.add(voidfunc(Map map) {
O mod = map.get('dm_currentModule_value);
if (mod instanceof DynModule) dm_currentModule_value.set(new WeakReference((DynModule) mod));
});
});
}
svoid #handler(Throwable e) {
DynModule m = dm_currentModule();
if (m == null)
print("Weird: Error outside of module");
else
m.setField(_error := persistableThrowable(e));
}
end scope