diff options
author | Matthew Holt <[email protected]> | 2020-04-13 09:48:54 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2020-04-13 09:48:54 -0600 |
commit | ec456811bb6d61ce32dbe6e4b7580d383f8a4adf (patch) | |
tree | 4d49b468e1677584f47262aafa849b43133d6603 /go.sum | |
parent | 68cebb28d063a7a71705ce022f118b5e1205fa3f (diff) | |
download | caddy-ec456811bb6d61ce32dbe6e4b7580d383f8a4adf.tar.gz caddy-ec456811bb6d61ce32dbe6e4b7580d383f8a4adf.zip |
core: Don't return error on RegisterModule() and RegisterAdapter()v2.0.0-rc.3
These functions are called at init-time, and their inputs are hard-coded
so there are no environmental or user factors that could make it fail
or succeed; the error return values are often ignored, and when they're
not, they are usually a fatal error anyway. To ensure that a programmer
mistake is not missed, we now panic instead.
Last breaking change 🤞
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions