Update HAL GetStackTrace to properly report user errors (#1594)

With the move of the HAL, the old value no longer worked, as the JNI call is in a different namespace
This commit is contained in:
Thad House
2019-02-11 20:17:31 -08:00
committed by Peter Johnson
parent 76d9e26633
commit 997d4fdf47

View File

@@ -127,7 +127,7 @@ void ReportError(JNIEnv* env, int32_t status, bool doThrow) {
ThrowUncleanStatusException(env, buf.c_str(), status);
} else {
std::string func;
auto stack = GetJavaStackTrace(env, &func, "edu.wpi.first.wpilibj");
auto stack = GetJavaStackTrace(env, &func, "edu.wpi.first");
HAL_SendError(1, status, 0, message, func.c_str(), stack.c_str(), 1);
}
}