Skip to content

Commit

Permalink
[fix] resource_private.opa: remove deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OpaOnWindowsNow committed Apr 5, 2012
1 parent fef70fb commit 669e91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/core/web/resource/resource_private.opa
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ export_resource(external_css_files: list(string),
uri = get_request_uri(req)
num_page = match thread_context().key with
| ~{client}-> do %%BslPingRegister.client_start%%(client) client.page
| _ -> result = Random.int(max_int)
| _ -> result = Random.int(Limits.max_int)
do Log.warning("Resource export",
"This page is exported from a context that doesn't have a valid client thread context. Replacing by random value {result}")
result
Expand Down

0 comments on commit 669e91b

Please sign in to comment.