Add error handling to AppContainer plugin loading