Log warning when a command can not be processed.
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / FcpInterface.java
index 94391e7..65d0d87 100644 (file)
@@ -173,6 +173,7 @@ public class FcpInterface {
                                Response response = command.execute(parameters, data, AccessType.values()[accessType]);
                                sendReply(pluginReplySender, identifier, response);
                        } catch (FcpException fe1) {
+                               logger.log(Level.WARNING, "Could not process FCP command ā€œ%sā€.", command);
                                sendReply(pluginReplySender, identifier, new ErrorResponse("Error executing command: " + fe1.getMessage()));
                        }
                } catch (PluginNotFoundException pnfe1) {