From: David ‘Bombe’ Roden Date: Fri, 8 Apr 2011 14:51:36 +0000 (+0200) Subject: Send back identifier, if available. X-Git-Tag: 0.6.5^2~39^2~29 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=867514c843526b7e3699e3e6073c01bae0813fc7 Send back identifier, if available. --- diff --git a/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java b/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java index 6145a36..8854347 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java +++ b/src/main/java/net/pterodactylus/sone/fcp/FcpInterface.java @@ -93,7 +93,7 @@ public class FcpInterface { Response response = command.execute(parameters, data, AccessType.values()[accessType]); sendReply(pluginReplySender, identifier, response); } catch (FcpException fe1) { - sendReply(pluginReplySender, null, new ErrorResponse("Error executing command: " + fe1.getMessage())); + sendReply(pluginReplySender, identifier, new ErrorResponse("Error executing command: " + fe1.getMessage())); } } catch (PluginNotFoundException pnfe1) { logger.log(Level.WARNING, "Could not find destination plugin: " + pluginReplySender);