log js errors
This commit is contained in:
parent
0e44e319c4
commit
695deb0947
2 changed files with 27 additions and 0 deletions
13
oml/api.py
13
oml/api.py
|
|
@ -13,6 +13,8 @@ import item.api
|
|||
import user.api
|
||||
import update
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
def selectFolder(data):
|
||||
'''
|
||||
|
|
@ -88,3 +90,14 @@ def quit(data):
|
|||
state.main.stop()
|
||||
return {}
|
||||
actions.register(quit, cache=False)
|
||||
|
||||
def logError(data):
|
||||
'''
|
||||
takes {
|
||||
}
|
||||
returns {
|
||||
}
|
||||
'''
|
||||
#logger.debug('frontend error %s', data)
|
||||
return {}
|
||||
actions.register(logError, cache=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue