Skip to content

Commit 1a0e999

Browse files
committed
Forgot project name on version missing error message
1 parent bce00eb commit 1a0e999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/package_manager/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def self.update(name, sync_version: :all)
120120
else
121121
version = one_version(raw_project, sync_version)
122122

123-
raise "#{db_platform} version #{sync_version} requested but not found" if version.nil?
123+
raise "#{db_platform}/#{db_project.name} version #{sync_version} requested but not found" if version.nil?
124124

125125
add_version(db_project, version)
126126
# TODO: handle deprecation here too

0 commit comments

Comments
 (0)