فهرست منبع

Removed second panic call as this code could never be reached

Geoffrey J. Teale 14 سال پیش
والد
کامیت
e9278b5804
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      lib.go

+ 0 - 1
lib.go

@@ -233,7 +233,6 @@ func readRowsFromSheet(Worksheet *XLSXWorksheet, reftable []string) []*Row {
 					ref, error := strconv.Atoi(vval)
 					if error != nil {
 						panic(error)
-						panic(fmt.Sprintf("Invalid reference in Excel Cell (not found in sharedStrings.xml) - the reference was %v\n", rawcell.V.Data))
 					}
 					cell.data = reftable[ref]
 				} else {