These changes are made in case source is not guranteed to remain the same
Due to how JS should operate, this shouldn't be an issue but this just ensures that
- Logs out to a file w/ relevant meta data
- Provides better readability for end user
This should help provide better troubleshooting for both
development and end users.
This also fixes any previous catches that were attempting to print stack traces,
causing the [object Object] message to appear.
Co-authored-by: Christopher Gjelten <[email protected]>
This adds support for the other type of Mysql connection string
specified by mysql async. Support for both strings and their respective
options are necessary to support backwards compatibility of existing
server configurations.
This also adds support for jest & unit testing on the server/client and
some unit tests for some of the connection string parsing.
It runs these test and prettier in a pre-commit hook.