Python print statements don't seem to do anything when deployed to server
from python import Pythonfn main() raises: try: Python.add_to_path("./") let bot = Python.import_module("main") print("Starting Bot with Mojo") _ = bot.main() except e: print("Error in main: ", e)
from python import Pythonfn main() raises: try: Python.add_to_path("./") let bot = Python.import_module("main") print("Starting Bot with Mojo") _ = bot.main() except e: print("Error in main: ", e)
In this code, when I deploy to railway it runs in a docker container. The issue is that "Starting Bot with Mojo" will print, but nothing I print inside the main function, which is python will work. Any idea why this could be? Is the docker container suppressing output somehow?