Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Plugins/RedisDriverPlugin/RedisPluginDriver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ private extension RedisPluginDriver {
)

default:
fatalError("Unexpected operation in executeKeyOperation")
throw RedisPluginError(code: 0, message: "Unexpected operation in executeKeyOperation")
}
}

Expand Down Expand Up @@ -844,7 +844,7 @@ private extension RedisPluginDriver {
)

default:
fatalError("Unexpected operation in executeHashOperation")
throw RedisPluginError(code: 0, message: "Unexpected operation in executeHashOperation")
}
}

Expand Down Expand Up @@ -896,7 +896,7 @@ private extension RedisPluginDriver {
)

default:
fatalError("Unexpected operation in executeListOperation")
throw RedisPluginError(code: 0, message: "Unexpected operation in executeListOperation")
}
}

Expand Down Expand Up @@ -948,7 +948,7 @@ private extension RedisPluginDriver {
)

default:
fatalError("Unexpected operation in executeSetOperation")
throw RedisPluginError(code: 0, message: "Unexpected operation in executeSetOperation")
}
}

Expand Down Expand Up @@ -1019,7 +1019,7 @@ private extension RedisPluginDriver {
)

default:
fatalError("Unexpected operation in executeSortedSetOperation")
throw RedisPluginError(code: 0, message: "Unexpected operation in executeSortedSetOperation")
}
}

Expand Down Expand Up @@ -1049,7 +1049,7 @@ private extension RedisPluginDriver {
)

default:
fatalError("Unexpected operation in executeStreamOperation")
throw RedisPluginError(code: 0, message: "Unexpected operation in executeStreamOperation")
}
}

Expand Down Expand Up @@ -1130,7 +1130,7 @@ private extension RedisPluginDriver {
return buildStatusResult("OK", startTime: startTime)

default:
fatalError("Unexpected operation in executeServerOperation")
throw RedisPluginError(code: 0, message: "Unexpected operation in executeServerOperation")
}
}
}
Expand Down
Loading