add try/except for non-appserver