Skip to content

Release 1.1.2

Latest
Compare
Choose a tag to compare
@agschwender agschwender released this 22 Nov 00:35
8b6fab3

Improve handling of bad options in the autoreload options:

  • nil as the WithLogger logger will be treated as disabling logging.
  • Less than 1 for WithMaxAttempts will be treated as 1.
  • nil as the WithOnReload will be treated as a no-op function.

Change Logger interface to no longer Fatal. Instead it will Error to avoid requiring that the callers function actually exit the program. This is a breaking change that will require re-implementation of the Logger.