Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Adapt to Stan change: consistent error logging
Commit 5f4f01f74ada379e698e95784495c9d2a6853918 in stan-dev/stan makes the following change: > Currently, the services functions are inconsistent on whether or not > they will throw an exception. The versions which accept num_chains > should never throw, but the older ones will throw if initialization > fails. This consistently puts utils::initialize in a try block. > Additionally, we are currently using logger.info for messages which > are errors, and in several places not logging an error where we could > (e.g., the catch blocks accompanying the above trys). This commit updates httpstan code to adapt to this change.
- Loading branch information