mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-28 03:03:30 -04:00
These things are fragile, every event should use an ${eventType}Data struct or something instead.
This commit is contained in:
@@ -1065,7 +1065,7 @@ func (f *folder) setWatchError(err error, nextTryIn time.Duration) {
|
||||
f.watchErr = err
|
||||
f.watchMut.Unlock()
|
||||
if err != prevErr {
|
||||
data := map[string]string{
|
||||
data := map[string]interface{}{
|
||||
"folder": f.ID,
|
||||
}
|
||||
if prevErr != nil {
|
||||
|
||||
Reference in New Issue
Block a user