logger.warn("command returned an error", e);
putResponse("error", e.getMessage());
}
// append init info if needed
if (command.mustRunInit()) {
try {
command.initCommand();
} catch (ConnectorException e) {
logger.warn("command returned an error", e);
putResponse("error", e.getMessage());