mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-21 08:54:32 +02:00
Fix unhandled error warnings, error messages (except import.go)
This commit is contained in:
@@ -33,6 +33,9 @@ func getFileIDsFromString(mod string) (bool, int, int, error) {
|
||||
matches := v.FindStringSubmatch(mod)
|
||||
if matches != nil && len(matches) == 3 {
|
||||
modID, err := modIDFromSlug(matches[1])
|
||||
if err != nil {
|
||||
return true, 0, 0, err
|
||||
}
|
||||
fileID, err := strconv.Atoi(matches[2])
|
||||
if err != nil {
|
||||
return true, 0, 0, err
|
||||
|
Reference in New Issue
Block a user