small try/except to __main__