improved exception message to display terminal Id.
This commit is contained in:
parent
eeb020513c
commit
66665f2594
|
@ -607,7 +607,7 @@ public class POSTerminalManager
|
|||
MPOSTerminal terminal = MPOSTerminal.get(ctx, terminalId);
|
||||
if (terminal == null)
|
||||
{
|
||||
throw new TerminalNotFoundException("Terminal cannot be loaded");
|
||||
throw new TerminalNotFoundException("Terminal cannot be loaded; terminalId["+terminalId+"]");
|
||||
}
|
||||
return terminal;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue