You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/05/08 16:40:16 UTC

[servicecomb-pack] 02/02: SCB-1279 add more information about the OmegaContext verify

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

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git

commit 29cc928ae2eb8bf5385902ed06fca7238adaa31c
Author: Lei Zhang <co...@gmail.com>
AuthorDate: Wed May 8 14:58:17 2019 +0800

    SCB-1279 add more information about the OmegaContext verify
---
 .../java/org/apache/servicecomb/pack/omega/context/OmegaContext.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/omega/omega-context/src/main/java/org/apache/servicecomb/pack/omega/context/OmegaContext.java b/omega/omega-context/src/main/java/org/apache/servicecomb/pack/omega/context/OmegaContext.java
index bebb32b..0b8f3a5 100644
--- a/omega/omega-context/src/main/java/org/apache/servicecomb/pack/omega/context/OmegaContext.java
+++ b/omega/omega-context/src/main/java/org/apache/servicecomb/pack/omega/context/OmegaContext.java
@@ -75,7 +75,7 @@ public class OmegaContext {
 
   public void verify(){
     if(this.globalTxId == null){
-      throw new RuntimeException("OmegaContext globalTxId is empty");
+      throw new RuntimeException("OmegaContext globalTxId is empty, Please check if you setup the pack transport handler rightly");
     }
   }
 }