App is 302 redirecting to dashboard

I was working on an app and had some unhandled exceptions in my code. I think I’ve fixed them but my app is still being 302 redirected to the dashboard. There are no longer errors showing in the logs. I tried disabling and re-enabling the app. Any suggestions why it might be redirecting?

The problem was I had the wrong app ID in the constructor. I forgot to change it from the example.

  public function __construct() {
    parent::__construct('myapp'); // needed to be my app ID