[Mon May 24 05:09:04.421184 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] mod_wsgi (pid=9918): Failed to exec Python script file '/var/www/portfolio-app/app.wsgi'., referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421234 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] mod_wsgi (pid=9918): Exception occurred processing WSGI script '/var/www/portfolio-app/app.wsgi'., referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421253 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] Traceback (most recent call last):, referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421277 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] File "/var/www/portfolio-app/app.wsgi", line 7, in <module>, referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421330 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] from portfolio import app as application, referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421379 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] File "/var/www/portfolio-app/portfolio/__init__.py", line 10, referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421385 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] directory = os.listdir(f"{apps_directory}/{app_directory}"), referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421390 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>]
^, referer: http://<SERVER_IP>
[Mon May 24 05:09:04.421393 2021] [wsgi:error] [pid 9918:tid 139930638481152] [client <CLIENT_IP>] SyntaxError: invalid syntax, referer: http://<SERVER_IP>