setup drone
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Cadey Ratio 2020-01-19 18:22:42 +00:00
parent fdfec5a419
commit 2d4791e1b3
2 changed files with 27 additions and 1 deletions

25
.drone.yml Normal file
View File

@ -0,0 +1,25 @@
---
kind: pipeline
name: default
steps:
- name: test
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
- docker build .
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}

View File

@ -114,7 +114,8 @@ func (mi *Mi) StreamMastodonToTwitter(ctx context.Context) {
var ns NewStatus
err := json.Unmarshal(data, &ns)
if err != nil {
ln.FatalErr(ctx, err)
ln.Error(ctx, err)
continue
}
if ns.NewVal == nil {