Skip to content

Commit

Permalink
tweak error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jan 15, 2025
1 parent 45b0f6a commit 2aa32c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function(req, res, next){
next(); //proceed to routing
}
} else if(metapage) {
throw createError(404, `Universe not found: ${universe}`);
throw createError(404, `No packages found for this owner or maintainer: ${universe}`);
} else {
// Try to find case insensitive or in other universe
var altquery = {_type: 'src', _nocasepkg: pkg.toLowerCase(), _universes: universe, _registered: true};
Expand Down

0 comments on commit 2aa32c5

Please sign in to comment.