improved debugging output at referenceVar errors
This commit is contained in:
parent
77d17196a7
commit
b8d0b13ccf
1 changed files with 3 additions and 1 deletions
|
@ -491,7 +491,9 @@ public class ContikiMoteType implements MoteType {
|
|||
int referenceVar = (int) varMem.getVariable("referenceVar").addr;
|
||||
myCoreComm.setReferenceAddress(referenceVar);
|
||||
} catch (UnknownVariableException e) {
|
||||
throw new MoteTypeCreationException("JNI call error: " + e.getMessage(), e);
|
||||
throw new MoteTypeCreationException("Error setting reference variable: " + e.getMessage(), e);
|
||||
} catch (RuntimeException e) {
|
||||
throw new MoteTypeCreationException("Error setting reference variable: " + e.getMessage(), e);
|
||||
}
|
||||
|
||||
getCoreMemory(tmp);
|
||||
|
|
Loading…
Reference in a new issue