clean incorrect Fatal

This commit is contained in:
cuu
2021-10-30 14:08:40 +08:00
parent 06f7589f8b
commit c813de432d
7 changed files with 33 additions and 31 deletions

View File

@@ -26,7 +26,7 @@ func NewSkinManager() *SkinManager {
func (self *SkinManager) ConvertToRGB(hexstr string) *color.Color {
if len(hexstr) < 7 || string(hexstr[0]) != "#" { // # 00 00 00
log.Fatalf("ConvertToRGB hex string format error %s", hexstr)
log.Printf("ConvertToRGB hex string format error %s\n", hexstr)
//fmt.Printf("ConvertToRGB hex string format error %s", hexstr)
return nil
}