Skip to content

Commit 6dfd999

Browse files
Added basic configuration for the logging to help in an eventual problem.
1 parent 3d21056 commit 6dfd999

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webhooks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18+
import logging
19+
from sys import stderr
20+
logging.basicConfig(stream=stderr)
21+
1822
import hmac
1923
from hashlib import sha1
2024
from json import loads, dumps

0 commit comments

Comments
 (0)