You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/06/04 14:15:40 UTC

[pulsar] branch master updated: Print the exception message when authentication failed to create. (#4460)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new d2f6f62  Print the exception message when authentication failed to create. (#4460)
d2f6f62 is described below

commit d2f6f62ba9aa4443357f566d255693ea66382827
Author: Fangbin Sun <su...@gmail.com>
AuthorDate: Tue Jun 4 22:15:32 2019 +0800

    Print the exception message when authentication failed to create. (#4460)
---
 .../src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java b/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java
index dabfcbd..c6f7f8a 100644
--- a/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java
+++ b/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java
@@ -122,6 +122,7 @@ public class PulsarClientTool {
                                      // it will default to the values passed in by the constructor
             } catch (UnsupportedAuthenticationException exp) {
                 System.out.println("Failed to load an authentication plugin");
+                exp.printStackTrace();
                 commandParser.usage();
                 return -1;
             }