~emersion/gamja

72977b30b46fa18389381a9642c955eb611e2b1c — Simon Ser 2 months ago eaf3b0a
Log errors to console on command failure
1 files changed, 1 insertions(+), 0 deletions(-)

M components/app.js
M components/app.js => components/app.js +1 -0
@@ 781,6 781,7 @@ export default class App extends Component {
		try {
			cmd(this, args);
		} catch (error) {
			console.error("Failed to execute command '" + name + "'", error);
			this.setState({ error });
		}
	}