You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, try running it with too few arguments. We try to log the error, but since the logger has not yet been initialized, we get this:
Traceback (most recent call last):
File "/usr/bin/pushpackage", line 26, in <module>
RUtools.run_pushpackage()
File "/usr/lib/python2.6/site-packages/RUtools/__init__.py", line 498, in run_pushpackage
myapp.logger.error("Error: Too few arguments: " + str(args))
AttributeError: 'NoneType' object has no attribute 'error'
Either initialize the logger up front or do something else.
The text was updated successfully, but these errors were encountered:
For example, try running it with too few arguments. We try to log the error, but since the logger has not yet been initialized, we get this:
Either initialize the logger up front or do something else.
The text was updated successfully, but these errors were encountered: