Skip to content

Commit 5f62c23

Browse files
committed
Updater: improve error logging
1 parent f2a7a72 commit 5f62c23

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/DependencyControl/Updater.moon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ class UpdateTask extends UpdaterBase
209209
@record.name, @record\getVersionString!
210210
return 0
211211

212-
res = msgs.run.noFeedAvailExt\format @record\getVersionString(@targetVersion),
212+
res = msgs.run.noFeedAvailExt\format @targetVersion == 0 and "any" or @record\getVersionString(@targetVersion),
213213
@record.virtual and "no" or @record\getVersionString!,
214214
maxVer<1 and "none" or @record\getVersionString maxVer
215-
return logUpdateError -6
215+
return logUpdateError -6, res
216216

217217
code, res = @performUpdate updateRecord
218218
return logUpdateError code, res, wasVirtual

0 commit comments

Comments
 (0)