corrected problem with truncation of error messages
This commit is contained in:
parent
05ad08e3f5
commit
4a006587d8
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
static PyObject* reportCanteraError() {
|
||||
char* buf = 0;
|
||||
int buflen = getCanteraError(0, buf);
|
||||
int buflen = getCanteraError(0, buf) + 1;
|
||||
buf = new char[buflen+1];
|
||||
getCanteraError(buflen, buf);
|
||||
PyErr_SetString(ErrorObject,buf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue