Skip to content

Commit ff4e8d2

Browse files
authored
Update README.md
updated comments in catch sections
1 parent 162ff8e commit ff4e8d2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ try
9595
}
9696
catch(\Exception $e)
9797
{
98-
//log the exception
98+
// There was an error validationg the request
99+
// Use your own logging framework to log the Exception
100+
// This was a configuration exception, so we let the user continue
99101
}
100102
```
101103

@@ -181,7 +183,9 @@ try
181183
}
182184
catch(\Exception $e)
183185
{
184-
//log the exception
186+
// There was an error validationg the request
187+
// Use your own logging framework to log the Exception
188+
// This was a configuration exception, so we let the user continue
185189
}
186190
```
187191
### Protecting ajax calls on static pages
@@ -250,6 +254,8 @@ try
250254
}
251255
catch(\Exception $e)
252256
{
253-
//log the exception
257+
// There was an error validationg the request
258+
// Use your own logging framework to log the Exception
259+
// This was a configuration exception, so we let the user continue
254260
}
255261
```

0 commit comments

Comments
 (0)