update gitignore
improve error logging to slack fix regression in dev builds
This commit is contained in:
parent
070287716b
commit
28791f317b
3 changed files with 8 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -4,3 +4,7 @@ e2e/supporty/supporty
|
|||
.env
|
||||
blobsfiles
|
||||
ytsync_docker
|
||||
|
||||
e2e/config.json
|
||||
|
||||
e2e/cookies.txt
|
||||
|
|
|
@ -84,9 +84,9 @@ func (s *Sync) downloadWallet() error {
|
|||
}
|
||||
|
||||
func (s *Sync) downloadBlockchainDB() error {
|
||||
//if util.IsRegTest() {
|
||||
// return nil // tests fail if we re-use the same blockchain DB
|
||||
//}
|
||||
if util.IsRegTest() {
|
||||
return nil // tests fail if we re-use the same blockchain DB
|
||||
}
|
||||
defaultBDBPath, defaultTempBDBPath, key, err := s.getBlockchainDBPaths()
|
||||
if err != nil {
|
||||
return errors.Err(err)
|
||||
|
|
|
@ -14,7 +14,7 @@ func SendErrorToSlack(format string, a ...interface{}) {
|
|||
message = fmt.Sprintf(format, a...)
|
||||
}
|
||||
log.Errorln(message)
|
||||
err := util.SendToSlack(":sos: " + message)
|
||||
err := util.SendToSlack(":sos: ```" + message + "```")
|
||||
if err != nil {
|
||||
log.Errorln(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue