mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-04-26 06:13:06 +01:00
Merge pull request #9 from davidsulpy/master
added an error log when the grokerSubdomain is ever null or empty and…
This commit is contained in:
+2
@@ -265,6 +265,7 @@ def tryCreateBucket() {
|
||||
|
||||
// can't ship events if there is no grokerSubdomain
|
||||
if (atomicState.grokerSubdomain == null || atomicState.grokerSubdomain == "") {
|
||||
log.error "streaming url is currently null"
|
||||
return
|
||||
}
|
||||
|
||||
@@ -356,6 +357,7 @@ def tryShipEvents() {
|
||||
|
||||
// can't ship events if there is no grokerSubdomain
|
||||
if (atomicState.grokerSubdomain == null || atomicState.grokerSubdomain == "") {
|
||||
log.error "streaming url is currently null"
|
||||
return
|
||||
}
|
||||
// can't ship if access key and bucket key are null, so finish trying
|
||||
|
||||
Reference in New Issue
Block a user